import React, {Component} from 'react';
import './style.less';
import Header from './Header';
import Footer from './Footer';

export default class Frame extends Component {
    state = {
    }

    render() {
        return (
            <div className="frame">
                <Header/>
                <div className="frame-content" style={this.props.style}>
                    {this.props.children}
                </div>
                <Footer />
            </div>
        );
    }
}
